package com.aiolos.wxdc.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * HTTP请求返回到前端的商品详情对象
 *
 * 不返回ProductInfo对象是由于出于信息安全考虑
 */
@Data
public class ProductInfoVO implements Serializable {

    private static final long serialVersionUID = 556481808444082808L;

    @JsonProperty("id")
    private String productId;
    @JsonProperty("name")
    private String productName;
    @JsonProperty("description")
    private String productDescription;
    @JsonProperty("icon")
    private String productIcon;
    @JsonProperty("price")
    private BigDecimal productPrice;
}
